package com.cmc.cloud.cmclink.doc.vo.sovo.soforecastvo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 订舱预配信息分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱预配信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SoForecastPageReqVO extends PageParam {

    @Schema(description = "外键", example = "3921")
    private Long soId;

    @Schema(description = "箱型", example = "1")
    private String cntrType;

    @Schema(description = "箱尺寸 同尺寸拆分")
    private String cntrSize;

    @Schema(description = "箱量 拆分规则 用户自己填写")
    private Long cntrQuantity;

    @Schema(description = "单箱货重（kg")
    private BigDecimal perCntrWgt;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
